package com.dsunsoft.rtu.service;

import com.dsunsoft.rtu.core.base.BaseService;
import com.dsunsoft.rtu.dto.SysUserDto;
import com.dsunsoft.rtu.dto.SysUserMenuDto;
import com.dsunsoft.rtu.entity.SysUser;
import com.dsunsoft.rtu.query.SysUserQuery;

public interface SysUserService extends BaseService<SysUser, SysUserQuery> {

    boolean save(SysUserDto sysUser);

    boolean checkLoginName(String oldLoginName, String loginName);

    SysUserMenuDto getUserMenu(String userId);
}
